Skip to content

Conversation

@ZeroIntensity
Copy link
Owner

Mostly importantly, this removes any size limits and significantly reduces the size of a PyAwaitable object.

A couple other things as well:

  • Add a PYAWAITABLE_OPTIMIZED setting for CI.
  • Changed some error types from SystemError to RuntimeError, because apparently it wasn't clear that those were user errors.
  • Removed the awaitable pool which only slightly improved performance, at the cost of using more preallocated memory. We should just use a freelist in the future.

@netlify
Copy link

netlify bot commented Jan 7, 2025

Deploy Preview for awaitable ready!

Name Link
🔨 Latest commit d1f4f79
🔍 Latest deploy log https://app.netlify.com/sites/awaitable/deploys/677d62379fc0ee000892ef22
😎 Deploy Preview https://deploy-preview-48--awaitable.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ZeroIntensity ZeroIntensity changed the title Use a consistent implementation for arrays Core: Use a consistent implementation for arrays Jan 7, 2025
@ZeroIntensity ZeroIntensity merged commit f4d1e60 into master Jan 7, 2025
21 of 22 checks passed
@ZeroIntensity ZeroIntensity deleted the resizing-callbacks branch January 7, 2025 17:33
ZeroIntensity added a commit that referenced this pull request Jan 8, 2025
Apparently, #48 broke some builds.

- Fixes compiler flags used on Windows.
- Removes usage of `Py_UNREACHABLE`, which apparently only works on
Linux.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants