24 个仓库
Optimized data storage structures for cache-efficient processing.
Distinguishing note: Focuses on low-level memory organization rather than high-level database management.
Explore 24 awesome GitHub repositories matching data & databases · Memory Layouts. Refine with filters or upvote what's useful.
Pandas is a high-performance data analysis library that provides a comprehensive framework for manipulating, cleaning, and transforming structured datasets. It centers on labeled one-dimensional and two-dimensional data structures, allowing users to construct, filter, and reshape tabular information while performing complex arithmetic and logical operations. The library distinguishes itself through a sophisticated indexing engine that enables automatic data alignment during calculations and relational merges. By utilizing a block-based memory layout, it optimizes cache locality for vectorized
Provides contiguous memory block storage to optimize cache locality and vectorized operations.
NumPy is a foundational library for scientific computing in Python, providing a comprehensive framework for managing and manipulating large-scale numerical information. It centers on high-performance multidimensional array objects that serve as the primary data structure for complex mathematical operations and data analysis workflows. The library distinguishes itself through specialized mechanisms for handling multidimensional data, including advanced indexing, slicing, and broadcasting techniques that allow for efficient operations across arrays of varying shapes. It utilizes strided metadat
Uses strided metadata to enable efficient, zero-copy slicing of multidimensional arrays.
This project is a machine learning array framework and tensor computation library designed for high-performance numerical computing. It provides a comprehensive suite of tools for constructing and training neural networks, featuring an automatic differentiation engine that facilitates gradient-based optimization and complex mathematical modeling. The library distinguishes itself through a unified memory architecture that allows data to be shared across CPU and GPU devices without explicit copies, significantly reducing data movement overhead. Its execution model relies on a lazy evaluation en
Forces arrays into row-major memory layouts to ensure alignment and compatibility.
This project is a cross-platform graphics and compute framework that provides a unified, hardware-agnostic abstraction layer for rendering and parallel processing. It enables developers to build high-performance applications that execute consistently across diverse operating systems and hardware backends, including Vulkan, Metal, and DirectX. By mapping high-level graphics commands to native APIs, it serves as a portable foundation for both real-time 3D rendering and general-purpose GPU computing. The framework distinguishes itself through a robust architecture that supports both native deskt
Configures alignment and padding of vertex, index, and uniform data structures for hardware-specific memory requirements.
Arrow is a cross-language development platform for in-memory data. It provides a standardized, language-independent columnar memory format designed to accelerate analytical operations and improve memory efficiency on modern computing hardware. By utilizing a schema-driven approach, the framework enables the efficient organization of both flat and nested data structures. The project functions as an analytical data processing engine that facilitates high-performance computation directly on memory-resident datasets. It distinguishes itself through a zero-copy architecture, which allows multiple
Organizes data in contiguous memory blocks to maximize CPU cache efficiency and enable vectorized processing.
SciPy is a scientific computing library for Python that provides a comprehensive collection of mathematical algorithms and numerical tools for research and engineering. It functions as a high-performance numerical analysis framework, bridging high-level Python code with compiled C and Fortran routines to execute complex computations at hardware speeds. The library is built upon array-based data structures that utilize strided memory layouts to enable efficient data manipulation and slicing. By employing vectorized operation dispatch and linking to optimized hardware-specific linear algebra li
Utilizes strided memory layouts to enable efficient slicing and manipulation of multidimensional data without copying.
This project is a curated collection of programming exercises designed to build proficiency in numerical computing and data manipulation. It provides a structured learning path for mastering multidimensional array operations, vectorized arithmetic, and statistical analysis. The repository focuses on developing practical expertise in array-based workflows, emphasizing techniques such as memory management, efficient data processing, and the replacement of explicit loops with vectorized operations. Users engage with hands-on challenges that cover the full lifecycle of numerical data, from initia
Organizes data into user-defined fields within contiguous memory blocks to represent complex records.
Odin is a compiled, statically typed systems programming language designed for high-performance software development. It focuses on pragmatic low-level memory control, providing a toolset for manual memory management and precise control over hardware utilization. The language is distinguished by its flexible memory model, which includes custom allocators and precise data layout capabilities to optimize resource usage. It features a comprehensive foreign function interface for importing assembly files and linking with external libraries using configurable calling conventions. The type system
Enables efficient data packing using bit fields and specific record layouts for cache-efficient processing.
cuDF is a GPU-accelerated dataframe library and data processing engine designed for manipulating and analyzing large tabular datasets. It provides a high-level API for executing filtering, joining, and aggregating operations directly on GPU hardware. The project integrates the Apache Arrow memory format to enable zero-copy data transfers and includes a just-in-time compiler for executing custom user-defined functions on the GPU. The library features specialized acceleration for existing workflows by redirecting standard Pandas dataframe calls and Polars query plans to a GPU backend. It also p
Implements optimized columnar memory layouts to maximize GPU bandwidth and SIMD execution efficiency.
Torch7 is a scientific computing environment and tensor computation library used for deep learning research and numerical analysis. It functions as a Lua-based framework for training neural networks and learning agents, providing a toolkit for implementing architectures and training through reinforcement learning algorithms. The project is distinguished by its tight integration with C, utilizing a binding layer to map high-level scripting to low-level C structures for direct memory access. It supports hardware-accelerated computation by offloading linear algebra and convolution operations to
Implements strided memory layouts to manipulate tensor dimensions and shapes without duplicating data buffers.
Vaex is a high-performance Apache Arrow DataFrame library and out-of-core data processing engine designed to handle billion-row tabular datasets in Python. It functions as a lazy evaluation framework that defers computations and transformations until results are required, enabling the processing of datasets that exceed available system RAM by mapping files directly from disk. The project distinguishes itself as a tool for big data visualization and exploration, specifically integrated for use within interactive notebooks. It provides specialized capabilities for machine learning feature engin
Implements an Apache Arrow columnar memory layout to enable high-speed data access and efficient interoperability.
FastImageCache is an iOS image caching library that provides a persistent disk-based image store. It utilizes a persistent bitmap cache to store images in uncompressed formats and incorporates an image pre-processing pipeline to optimize assets before they are committed to storage. The library optimizes rendering performance by using memory-mapped image tables for constant-time retrieval and byte-aligned data layouts to prevent memory copies. It organizes images of identical dimensions into shared tables and manages disk space through a least-recently-used cache eviction system. The project
Optimizes rendering performance by aligning image rows to memory boundaries to prevent expensive memory copies.
go-tools is a collection of utilities for Go static analysis and memory layout optimization. It provides a toolset designed to analyze source code to detect bugs and dead code, alongside specialized tools for optimizing how structs are arranged in memory. The project includes a memory alignment visualizer to display physical memory layouts and padding, as well as a struct layout optimizer that reorders fields to minimize memory padding. Additionally, it provides a boilerplate generator to automate the creation of registration and test files required for developing custom Go analyzers. The to
Provides a utility for inspecting memory alignment, field sizes, and padding of Go structs.
Provides native handling of interleaved, planar, and custom memory layouts without data copying.
This project is a comprehensive collection of C++ libraries and toolkits providing reference implementations for data structures, graph algorithms, and bitwise logic. It serves as a C++ algorithm reference containing over 180 solved coding problems and a specialized toolkit for competitive programming. The repository distinguishes itself through extensive low-level bit manipulation libraries for parity checks, endianness detection, and XOR-based logic. It also provides a wide array of reference solutions for complex algorithmic challenges involving backtracking, graph theory, and dynamic prog
Implements byte order reversal to convert data between big-endian and little-endian representations.
Magnum 是一个用于跨平台图形开发与实时数据可视化的 C++ 中间件套件。它提供了一个硬件无关的渲染层,将图形命令转换为特定平台的调用,确保在不同 GPU 驱动程序与 API(如 Vulkan)间的一致行为。 该项目专注于通过抽象图形与系统实用程序将应用逻辑与底层硬件解耦。它具备用于 3D 资产与音频的插件式资源导入器、用于空间变换的层级场景图,以及用于通信的高性能基于信号的事件系统。 广泛的能力包括线性代数与向量数学、网格几何处理以及 GPU 上下文管理。该工具包还涵盖了空间音频播放、VR 硬件集成以及诸如跨步布局与对齐分配等底层内存优化。 该库可以作为 CMake 子项目集成到父项目中。
Organizes interleaved data into contiguous blocks and strided views to enhance data locality and SIMD efficiency.
c3c is the compiler for the C3 programming language, transforming source code into executable binaries, static libraries, or dynamic libraries using an LLVM backend. It implements a system based on result-based error handling, scoped memory pooling, and a semantic macro system. The compiler provides first-class support for hardware-backed SIMD vectors that map directly to processor instructions and enables runtime polymorphism through interface-based dynamic dispatch. The project covers a broad set of low-level capabilities, including manual and pooled memory management, inline assembly inte
Controls bit-level data layout for big-endian and little-endian storage and overlapping ranges.
nalgebra 是一个 Rust 线性代数库,提供支持编译时和运行时维度的矩阵与向量运算。它作为数值分析库和稀疏矩阵库,提供了一个能够在嵌入式环境和 WebAssembly 中运行且无需 Rust 标准库的数学框架。 该项目的独特之处在于其几何变换库,利用齐次坐标、四元数和等距变换来处理 3D 旋转、平移和投影。它实现了多种矩阵分解——包括 LU、QR、Cholesky、SVD 和特征值分解——以求解线性系统并分析矩阵。 该库涵盖了广泛的功能领域,包括用于空间变换的几何计算、用于投影矩阵合成和着色器数据导出的计算机图形实用程序,以及使用压缩行和列存储的专用稀疏矩阵管理。它还提供用于矩阵初始化、调整大小和解析 Matrix Market 文件的数据管理工具。
Provides non-owning references to matrix sub-sections using memory offsets to avoid data copying.
ndarray 是一个 Rust 的多维数组库,用作线性代数框架和科学计算工具。它提供了创建和操作 n 维数组的核心基础设施,既充当并行数组处理器,也充当数值数据分析工具包。 该库的独特之处在于提供高效的切片和内存视图,允许在不复制的情况下共享数据。它利用优化的后端数学库进行高速矩阵乘法,并将繁重的数学迭代分布到多个 CPU 线程上以加速处理。 该项目涵盖了广泛的数学运算,包括逐元素算术、基于轴的数据聚合和点积计算。它还包括用于数组操作的全面实用程序,如重塑、展平、堆叠和坐标网格生成,以及对随机数组生成和序列化的支持。
Maps multidimensional indices to flat memory buffers using axis-specific step sizes for efficient zero-copy slicing.
NumCpp 是一个 C++ 框架和数值计算库,提供了一套用于多维数组管理和数学运算的工具包。它作为 NumPy 生态系统的 C++ 实现,提供了一个用于管理张量和执行复杂代数方程的科学计算框架。 该项目支持在 C++ 环境中进行高性能数组操作,而无需依赖 Python 运行时。它通过提供类似 NumPy 的接口来执行线性代数、管理多维数据结构和执行数值处理而脱颖而出。 该库涵盖了广泛的功能,包括矩阵代数运算、通过切片和重塑进行的数组几何管理,以及随机分布的生成。它还包括用于数据集分析、数组统计以及通过二进制和文本格式导入导出数值数据的工具。
Utilizes strided memory mapping to allow efficient array reshaping and slicing without copying data.