bool-hybrid-array 9.10.19__tar.gz → 9.10.21__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bool-hybrid-array
3
- Version: 9.10.19
3
+ Version: 9.10.21
4
4
  Summary: 一个高效的布尔数组(密集+稀疏混合存储,节省内存)
5
5
  Home-page: https://github.com/BKsell/bool-hybrid-array
6
6
  Author: 蔡靖杰
@@ -424,7 +424,7 @@ except OverflowError as e:
424
424
 
425
425
  ## 版本历史
426
426
 
427
- - --7.8.13--:PyPI上的初始版本,支持基本功能和自动存储优化
427
+ - **7.8.13**:PyPI上的初始版本,支持基本功能和自动存储优化
428
428
  * **7.9.0**:添加TruesArray和FalsesArray
429
429
  * **7.9.1**:修复介绍的bug,增加copy功能
430
430
  * **7.9.2**:新增find()方法
@@ -466,7 +466,7 @@ except OverflowError as e:
466
466
  * **7.14.4**:修复in的错误×3
467
467
  * **7.14.5**:修复in的错误×4
468
468
  * **7.14.6**:优化arr.large的类型
469
- - --8.0.0--:兼容numpy数组
469
+ - **8.0.0**:兼容numpy数组
470
470
  * **8.0.1**:修复8.0.0兼容numpy数组时没有形状参数的问题
471
471
  * **8.0.2**:移除bool_hybrid_dtype,改用object
472
472
  * **8.1.0**:利用ctypes加速密集部分的一些方法
@@ -569,7 +569,8 @@ except OverflowError as e:
569
569
  * **9.10.18.post3**:尝试修复“满屏错误”的问题×2
570
570
  * **9.10.18.post4**:尝试修复“满屏错误”的问题×3
571
571
  * **9.10.19**:和9.10.18.post4相同,正式版本发布
572
-
572
+ * **9.10.20**:优化性能,增加BHA_jit_log日志
573
+ * **9.10.21**:优化Ask_BHA,移除BHA_jit_log日志
573
574
 
574
575
 
575
576
  ## **彩蛋:**
@@ -384,7 +384,7 @@ except OverflowError as e:
384
384
 
385
385
  ## 版本历史
386
386
 
387
- - --7.8.13--:PyPI上的初始版本,支持基本功能和自动存储优化
387
+ - **7.8.13**:PyPI上的初始版本,支持基本功能和自动存储优化
388
388
  * **7.9.0**:添加TruesArray和FalsesArray
389
389
  * **7.9.1**:修复介绍的bug,增加copy功能
390
390
  * **7.9.2**:新增find()方法
@@ -426,7 +426,7 @@ except OverflowError as e:
426
426
  * **7.14.4**:修复in的错误×3
427
427
  * **7.14.5**:修复in的错误×4
428
428
  * **7.14.6**:优化arr.large的类型
429
- - --8.0.0--:兼容numpy数组
429
+ - **8.0.0**:兼容numpy数组
430
430
  * **8.0.1**:修复8.0.0兼容numpy数组时没有形状参数的问题
431
431
  * **8.0.2**:移除bool_hybrid_dtype,改用object
432
432
  * **8.1.0**:利用ctypes加速密集部分的一些方法
@@ -529,7 +529,8 @@ except OverflowError as e:
529
529
  * **9.10.18.post3**:尝试修复“满屏错误”的问题×2
530
530
  * **9.10.18.post4**:尝试修复“满屏错误”的问题×3
531
531
  * **9.10.19**:和9.10.18.post4相同,正式版本发布
532
-
532
+ * **9.10.20**:优化性能,增加BHA_jit_log日志
533
+ * **9.10.21**:优化Ask_BHA,移除BHA_jit_log日志
533
534
 
534
535
 
535
536
  ## **彩蛋:**
@@ -0,0 +1,27 @@
1
+ import sys
2
+ from types import ModuleType,FunctionType
3
+ from . import core
4
+ from .core import __builtins__,builtins
5
+ from . import int_array
6
+ __version__ = "9.10.21"
7
+ public_objects = []
8
+ for name in dir(core):
9
+ if not name.startswith("_"):
10
+ obj = getattr(core, name)
11
+ if isinstance(obj, (type, ModuleType)) or callable(obj):
12
+ public_objects.append(name)
13
+ __all__ = public_objects + ["__version__","__builtins__","core","builtins","__dict__","int_array"]
14
+ globals().update({
15
+ name: getattr(core, name)
16
+ for name in public_objects
17
+ })
18
+ try:
19
+ __dict__ = ProtectedBuiltinsDict(globals())
20
+ sys.modules[__name__+'.int_array'] = ProtectedBuiltinsDict(int_array.__dict__)
21
+ sys.modules[__name__+'.core'] = ProtectedBuiltinsDict(core.__dict__)
22
+ sys.modules[__name__] = ProtectedBuiltinsDict(globals())
23
+ sys.modules[__name__].name = 'bool_hybrid_array'
24
+ core.__dict__ = ProtectedBuiltinsDict(core.__dict__)
25
+ except:
26
+ pass
27
+