Skip to content

Commit

Permalink
HashTable: enable attribute access from Python
Browse files Browse the repository at this point in the history
ThomasWaldmann committed Oct 31, 2024
1 parent 00a1ff9 commit 379d586
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/borghash/HashTable.pxd
Original file line number Diff line number Diff line change
@@ -2,7 +2,8 @@ from libc.stdint cimport uint8_t, uint32_t

cdef class HashTable:
cdef int ksize, vsize
cdef int initial_capacity, capacity, used, tombstones
cdef readonly int capacity, used
cdef int initial_capacity, tombstones
cdef float max_load_factor, min_load_factor, shrink_factor, grow_factor
cdef uint32_t* table
cdef int kv_capacity, kv_used

0 comments on commit 379d586

Please sign in to comment.