码迷,mamicode.com
首页 >  
搜索关键字:for_each    ( 14050个结果
记一次针对excel导出的优化
最近发现我们系统导出excel文件时由于是导出百万级数据导出,速度过慢并且内存占用多,故进行了下面的一次优化。 我们使用apache的poi进行excel文件操作 主要耗时: 1、从数据库得到需要导出的结果集耗时 2、将数据写入excel耗时 优化前 public abstract class Ba ...
分类:其他好文   时间:2021-04-26 13:58:43    阅读次数:0
微信小程序图表工具wx-charts
wx-charts 微信小程序图表工具,charts for WeChat small app 基于canvas绘制,体积小巧 持续优化更新中,请保持关注~ 有任何问题欢迎在Issues中讨论,提出issue前请先阅读此须知 支持图表类型 饼图 pie 圆环图 ring 线图 line 柱状图 co ...
分类:微信   时间:2021-04-26 13:32:53    阅读次数:0
Leetcode** 42. Trapping Rain Water
Description: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after ra ...
分类:移动开发   时间:2021-04-26 13:21:39    阅读次数:0
满射(onto) 和 单射(one-to-one)
满射 A mapping \(T: \mathbb{R}^{n} \rightarrow \mathbb{R}^{m}\) is said to be onto \(\mathbb{R}^{m}\) if each \(\mathbf{b}\) in \(\mathbb{R}^{m}\) is th ...
分类:其他好文   时间:2021-04-24 13:56:43    阅读次数:0
LeetCode 198. House Robber
## 198. House RobberYou are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only co ...
分类:其他好文   时间:2021-04-23 12:11:50    阅读次数:0
[vbs] 定时关闭进程代码
Dim bag,pipe do Set bag=GetObject("WinMgmts:") Set pipe=bag.execquery("select * from win32_process where name='notepad.exe'") for each i in pipe i.ter ...
分类:系统相关   时间:2021-04-21 12:36:32    阅读次数:0
Mybatis-puls进阶
主键生成策略 @TabelID uuid 自增ID 雪花算法 mybatis-plus 的主键策略 package com.baomidou.mybatisplus.annotation; public enum IdType { AUTO(0), //数据库自增ID 记住表ID字段一定是自增的 N ...
分类:其他好文   时间:2021-04-20 15:05:56    阅读次数:0
Promise A+ 简单实现
写一个符合 Promise A+ 规范的 Promise 类型定义 // MyPromise.ts type resType = (value?: any) => void; type rejType = (reason?: any) => void; type executorType = (re ...
分类:其他好文   时间:2021-04-20 14:26:37    阅读次数:0
Educational Codeforces Round 107 (Rated for Div. 2) C. Yet Another Card Deck(暴力/思维)
You have a card deck of n cards, numbered from top to bottom, i. e. the top card has index 1and bottom card — index n. Each card has its color: the 𝑖 ...
分类:其他好文   时间:2021-04-15 12:03:00    阅读次数:0
Dapper, Ef core, Freesql 插入大量数据性能比较(二)
在上一篇文章中,我们比较出单表插入9999行数据,Dapper > EfCore > Freesql。在本文中,我们来看看级联插入 构建9999行数据 List<Entity> datas = new List<Entity>(); for (int i = 0; i < 9999; i++) { ...
分类:移动开发   时间:2021-04-14 12:13:34    阅读次数:0
14050条   上一页 1 ... 4 5 6 7 8 ... 1405 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!