Cache

Spring Cache使用

package com.itheima.controller; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.itheima.entity.User; import com.i ......
Spring Cache

Spring Cache

Spring Cache是一个框架,实现了基于注解的缓存功能,只需要简单地加一个注释,就能实现缓存功能。 Spring Cache提供了一层抽象,底层可以切换不同的Cache实现。具体就是通过CacheManager接口来统一不同的缓存技术 CacheManager是Spring提供的各种缓存技术抽 ......
Spring Cache

高Cache命中率的矩阵乘法

#include <ctime> #include <iostream> using namespace std; int main(int argc, char** argv) { int N = 500; int A[N][N]; int B[N][N]; double C1[N][N]; do ......
乘法 命中率 矩阵 Cache

LRU Cache

Problem Statement Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. ......
Cache LRU

dump cache file failed

在训练模型时,出现这个错误提示。发现时在导入jieba时,jieba需要一个缓存区,里面默认设置的是根目录home,但是这个目录没有权限进去,所以更改了cache目录,一开始是进入jieba的init文件中修改temp_dir,发现无效。 经过检查,发现在导入jieba的时候就已经设置了cache目 ......
failed cache dump file

用pinia和<KeepAlive>时需要注意Cache被改写的问题

用了pinia做状态管理,如果代码写的不当,遇到 <KeepAlive>时容易造成Cache被改写的问题 computed: { ...mapWritableState(useGoodsStore, { _listData: 'items', _isListEnd: 'isListEnd', _ma ......
KeepAlive 问题 pinia Cache lt

ubuntu apt-get 安装时 cache lock

问题; ubuntu 安装出现问题 网上的教程: ......
apt-get ubuntu cache lock apt

ERROR Failed to compile with 541 errors 11:27:44 These dependencies were not found: * core-js/modules/es.array.concat.js in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./

ERROR Failed to compile with 541 errors 11:27:44 These dependencies were not found: * core-js/modules/es.array.concat.js in ./node_modules/cache-loade ......

掉lvm cache坑了!

问题背景 今天刚试着将原来的hyper-V NAS虚拟机转到ESXi新机器,启用一块闲置的500G NVMe固态硬盘。考虑到NAS中用的大容量硬盘都是机械盘,而且为了降低噪音,选的都是低转速的。 因此想着把这块不大不小的NVMe固态用起来。网上一搜,就看到LVM + SSD Cache的文章,其中这 ......
cache lvm

ubuntu 把一个磁盘下的东西移动到另一个磁盘的一个 trick (.cache)

https://askubuntu.com/questions/87314/how-to-move-the-user-cache-directory-cache-out-of-the-home-directory-to-an ......
磁盘 东西 ubuntu trick cache

【Azure Cache for Redis】Python Django-Redis连接Azure Redis服务遇上(104, 'Connection reset by peer')

问题描述 使用Python连接Azure Redis服务,因为在代码中使用的是Django-redis组件,所以通过如下的配置连接到Azure Redis服务: CACHES = { "default": { "BACKEND": "django_redis.cache.RedisCache", " ......
Redis Azure Django-Redis Connection Python

重新认识下JVM级别的本地缓存框架Guava Cache——优秀从何而来

作为缓存系列专栏内容,秉持着不重复造轮子的理念,本篇文章中我们就开始深入剖析JAVA本地缓存的优秀轮子 —— 来自Google家族的Guava Cache。聊一聊其实现机制、看一看如何使用。 ......
缓存 框架 级别 Guava Cache

重新认识下JVM级别的本地缓存框架Guava Cache(3)——探寻实现细节与核心机制

本篇文章我们将进一步探讨下Guava Cache 实现层面的一些逻辑与设计策略,让我们可以对Guava Cache整体有个更加明朗的认识,促进实际使用中对其的理解。 ......
缓存 框架 细节 级别 机制

重新认识下JVM级别的本地缓存框架Guava Cache(2)——深入解读其容量限制与数据淘汰策略

对于缓存容器而言,容量限制与数据淘汰是两个基础且核心的关键点,也是实际使用的时候使用频率最高的特性。本篇在上一文基础上深入解读下Guava Cache中的容量限制与数据淘汰策略的实现与使用约束。 ......
缓存 框架 容量 级别 策略

编译器优化丨Cache优化

摘要:本文重点介绍几种通过优化Cache使用提高程序性能的方法。 本文分享自华为云社区《编译器优化那些事儿(7):Cache优化》,作者:毕昇小助手。 引言 软件开发人员往往期望计算机硬件拥有无限容量、零访问延迟、无限带宽以及便宜的内存,但是现实却是内存容量越大,相应的访问时间越长;内存访问速度越快 ......
编译器 Cache
共195篇  :7/7页 首页上一页7下一页尾页