4 个仓库
Functions for locating specific elements or indices within an array based on criteria.
Distinct from Array Element Accessors: Candidates focus on accessors or types; this is specifically about searching for values matching a predicate.
Explore 4 awesome GitHub repositories matching data & databases · Array Searching. Refine with filters or upvote what's useful.
algorithm-base is an educational library and study guide designed for simulating algorithms and studying data structures. It functions as an execution visualizer that renders step-by-step state changes and pointer updates through animated simulations to illustrate how data movement works. The project distinguishes itself by mapping conceptual logic directly to multi-language source code implementations. It utilizes a comparative analysis framework to evaluate different algorithmic strategies based on stability, time complexity, and space complexity, while organizing problems by underlying mec
Simulates the process of finding a center index where left and right element sums are equal.
ts-reset is a TypeScript type enhancement library that overrides and augments the built-in type definitions for standard JavaScript APIs. Its core purpose is to replace unsafe any return types with stricter alternatives like unknown, forcing developers to explicitly validate data before using it. The library achieves this through global type augmentation and declaration merging, applying changes across the entire project without requiring per-file imports. The library differentiates itself by targeting specific pain points in everyday TypeScript usage. It relaxes type constraints on array
Checks membership in readonly arrays without requiring the search value to match the array's element type.
Searchkit 是一个搜索 UI 框架,专为使用 React 和 Vue 构建连接到 Elasticsearch 和 OpenSearch 后端的搜索界面而设计。它提供了一个搜索查询翻译层,将前端搜索状态转换为引擎特定的查询语言,并提供一个结果渲染引擎来显示命中结果、分面菜单和分页。 该框架包括一个语义搜索界面,支持基于向量的最近邻搜索和自然语言处理。它通过基于适配器的翻译系统和基于组件的 UI 映射脱颖而出,通过标准化接口将搜索逻辑连接到可互换的视图。 该项目涵盖了广泛的功能,包括用于同步过滤器和分页的状态管理、用于分层和数值过滤的复杂分面生成,以及通过字段优先级加权实现的自定义排序逻辑。它还提供了用于结果置顶、查询规则修改和通过地图界面进行地理可视化的工具。 为了安全和可扩展性,该项目利用 API 访问层在浏览器和搜索集群之间代理请求,并支持基于中间件的请求拦截,以修改查询和响应。
Implements retrieval logic for filtering documents based on the presence of values within array-typed fields.
Amber 是一个将高级源代码转换为 Bash、Zsh 和 Ksh 可执行 Shell 脚本的转译器。它为 Shell 脚本生成提供了一个类型安全的环境,允许进行静态类型验证并创建独立的可执行脚本。 该项目通过包含 Tree-shaking 导入优化的编译过程来减小输出体积,并使用基于模板的脚本包装来添加自定义页眉和页脚。它利用基于模块的依赖解析系统,通过可见性控制来管理跨多个文件的代码复用。 该语言涵盖了广泛的自动化能力,包括全面的文件系统管理、进程控制以及通过 HTTP 进行的网络通信。它提供了用于文本处理、数据操作、日期时间管理和系统内省的内置工具。 该工具集包含一个用于逻辑验证的集成测试运行器,以及一个从源代码注释自动生成 Markdown 项目文档的工具。
Includes a utility for locating the index of specific values within an array.