GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Satook/sw-densemap: A Swift map structure optimised for in-order reads.

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
Sources/densemap
Sources/densemap
 
 
Tests
Tests
 
 
.gitignore
.gitignore
 
 
Package.swift
Package.swift
 
 
README.md
README.md
 
 

Repository files navigation

densemap

Main export is the DenseMap<Key, Value> type that allows you to store mostly contiguous runs of keys with their values in a cache-friendly way. It it built for fast in-order queries and enumeration but insertion can be slow.

Some performance characteristics:

  • In-order enumeration: O(1)
  • Random item fetch: O(Log n)
  • Random inserts|deletes: O(n)
  • Inserting|Deleting on the high end: O(1)

About

A Swift map structure optimised for in-order reads.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.