File: README

package info (click to toggle)
python-bitarray 3.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,288 kB
  • sloc: python: 11,456; ansic: 7,657; makefile: 73; sh: 6
file content (42 lines) | stat: -rw-r--r-- 1,217 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
This directory contains files that are relevant for development
of bitarray, as well as additional tests and verifications.


copy_n.py
    Illustrate how copy_n() in _bitarray.c works.  This is essentially
    a Python implementation of copy_n() with output of the different stages
    of the bitarray we copy into.


random/
    development files for statistical tests


resize/
    Things to study the bitarray resize function, including the growth
    pattern it creates and tests for the current implementation.


shift_r8.c
    C program is to illustrate and document shift_r8()


test_debug.py
    Tests for internal C code which is exposed in debug builds.
    These tests will only work when bitarray is compiled in debug mode.


test_sum_indices.py
    Additional tests for util.sum_indices() for very large n, as well as
    some verifications and test for the internal function _ssqi().


test_random.py
    * statistical tests for random functions in bitarray.util
    * verification of some statistical equations
    * verification of code used in random_k() and random_p()


tricks.py
    Some little tricks and verifications for some code which is used
    mostly in the C implementation of bitarray.