Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
numpy
/
numpy-user-dtypes
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
16
Star
41
Code
Issues
4
Pull requests
4
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
numpy-user-dtypes
stringdtype
stringdtype
src
static_string.c
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 16, 2024
Update stringdtype for NumPy 2.0
ngoldbaum
committed
08214d1
View commit details
Copy full SHA for 08214d1
View code at this point
Browse repository at this point
Commits on Nov 20, 2023
define ARENA_EXPANSION_FACTOR and set it to 1.25 instead of 2.0
ngoldbaum
committed
2d96305
View commit details
Copy full SHA for 2d96305
View code at this point
Browse repository at this point
Commits on Nov 17, 2023
refactor so npy_packed_static_string is an opaque struct
ngoldbaum
committed
9011bf9
View commit details
Copy full SHA for 9011bf9
View code at this point
Browse repository at this point
Commits on Nov 16, 2023
give all the string API functions NpyString names
ngoldbaum
committed
daa712e
View commit details
Copy full SHA for daa712e
View code at this point
Browse repository at this point
Some renames following the NEP
ngoldbaum
committed
d71ac99
View commit details
Copy full SHA for d71ac99
View code at this point
Browse repository at this point
Commits on Nov 8, 2023
fix bug when growing a medium string and when freeing a string associated with a newly allocated arena
ngoldbaum
committed
f07889f
View commit details
Copy full SHA for f07889f
View code at this point
Browse repository at this point
Commits on Nov 1, 2023
remove outdated comment
ngoldbaum
committed
77f8c3c
View commit details
Copy full SHA for 77f8c3c
View code at this point
Browse repository at this point
store the flag in the packed string
ngoldbaum
committed
efc0e7f
View commit details
Copy full SHA for efc0e7f
View code at this point
Browse repository at this point
calculate the address of the size in a different way
ngoldbaum
committed
7d0c58f
View commit details
Copy full SHA for 7d0c58f
View code at this point
Browse repository at this point
store the sizes of small strings in a char
ngoldbaum
committed
f839f1d
View commit details
Copy full SHA for f839f1d
View code at this point
Browse repository at this point
revert a525a16a72
ngoldbaum
committed
eb5621f
View commit details
Copy full SHA for eb5621f
View code at this point
Browse repository at this point
Commits on Oct 27, 2023
handle case where a string must be freed and copied from and to the same arena
ngoldbaum
committed
66e9d81
View commit details
Copy full SHA for 66e9d81
View code at this point
Browse repository at this point
fix handling for heap strings that were short strings
ngoldbaum
committed
0c9e400
View commit details
Copy full SHA for 0c9e400
View code at this point
Browse repository at this point
fix fencepost error in arena malloc
ngoldbaum
committed
6a827a4
View commit details
Copy full SHA for 6a827a4
View code at this point
Browse repository at this point
Commits on Oct 24, 2023
rename npy_load_string to npy_string_load
ngoldbaum
committed
955e66d
View commit details
Copy full SHA for 955e66d
View code at this point
Browse repository at this point
we're not using the sizes in the sidecar buffer so don't store them
ngoldbaum
committed
a525a16
View commit details
Copy full SHA for a525a16
View code at this point
Browse repository at this point
refactor npy_string_newsize to call npy_string_newemptysize
ngoldbaum
committed
ce2459a
View commit details
Copy full SHA for ce2459a
View code at this point
Browse repository at this point
Commits on Oct 23, 2023
Refactor to use an arena allocator
ngoldbaum
committed
d7dffc2
View commit details
Copy full SHA for d7dffc2
View code at this point
Browse repository at this point
Refactor so malloc/free are accessed via an allocator
ngoldbaum
committed
ca25471
View commit details
Copy full SHA for ca25471
View code at this point
Browse repository at this point
Commits on Sep 22, 2023
check for creating strings that are too large
ngoldbaum
committed
c170413
View commit details
Copy full SHA for c170413
View code at this point
Browse repository at this point
make NPY_MAX_STRING_SIZE publicly visible
ngoldbaum
committed
c11568c
View commit details
Copy full SHA for c11568c
View code at this point
Browse repository at this point
clean up error handling in string allocation functions
ngoldbaum
committed
51db898
View commit details
Copy full SHA for 51db898
View code at this point
Browse repository at this point
Commits on Sep 21, 2023
move macros for short string implementation out of the header
ngoldbaum
committed
7972b7b
View commit details
Copy full SHA for 7972b7b
View code at this point
Browse repository at this point
fix clearing errors
ngoldbaum
committed
245f0e3
View commit details
Copy full SHA for 245f0e3
View code at this point
Browse repository at this point
refactor to use a packing/unpacking API
ngoldbaum
committed
f86e5ce
View commit details
Copy full SHA for f86e5ce
View code at this point
Browse repository at this point
Commits on Sep 15, 2023
implement small string optimization
ngoldbaum
committed
97f3da5
View commit details
Copy full SHA for 97f3da5
View code at this point
Browse repository at this point
Commits on Sep 14, 2023
namespace static string sentinel macros
ngoldbaum
committed
56ff099
View commit details
Copy full SHA for 56ff099
View code at this point
Browse repository at this point
access string internals via functions
ngoldbaum
committed
74e97fd
View commit details
Copy full SHA for 74e97fd
View code at this point
Browse repository at this point
Commits on Sep 13, 2023
rename len to size in npy_static_string struct
ngoldbaum
committed
7ea409b
View commit details
Copy full SHA for 7ea409b
View code at this point
Browse repository at this point
Commits on Aug 31, 2023
replace ss with npy_static_string
ngoldbaum
committed
73ae9f9
View commit details
Copy full SHA for 73ae9f9
View code at this point
Browse repository at this point
refactor to avoid get_loop use in string to unicode cast
ngoldbaum
committed
1bb3bdf
View commit details
Copy full SHA for 1bb3bdf
View code at this point
Browse repository at this point
Commits on Aug 29, 2023
use PyMem allocators instead of malloc/free
ngoldbaum
committed
8ab07ef
View commit details
Copy full SHA for 8ab07ef
View code at this point
Browse repository at this point
Commits on Aug 25, 2023
remove unused ss_data
ngoldbaum
committed
2e7a766
View commit details
Copy full SHA for 2e7a766
View code at this point
Browse repository at this point
don't store terminating NULLs in the string storage
ngoldbaum
committed
39be9fe
View commit details
Copy full SHA for 39be9fe
View code at this point
Browse repository at this point
Commits on Aug 3, 2023
make the default string dtype not have an NA object
ngoldbaum
committed
e437ff8
View commit details
Copy full SHA for e437ff8
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.