Comments (3)
Basically xonsh has codecache. PR with improvements is welcome!
from xonsh.
@anki-code Is there an existing way to turn on the code caching for .xsh files? Or are you suggesting I create a Pull Request that updates XonshImportHook to utilize codecache?
from xonsh.
Xonsh already cashes xsh files and parts of code (i.e. ls -d $XONSH_DATA_DIR/xonsh_*_cache
) when you run it. I think it will be cool if you investigate the situation around xonshrc and imports and if there is no background issues with caching this create a PR with improvements. May be it should be an option like $XONSH_CACHE_SCRIPTS
or $XONSH_CACHE_EVERYTHING
.
from xonsh.
Related Issues (20)
- [docs] Cli command examples in guides should be fully copy&pasteable, i.e., without @
- Completion exception when input ends with `@(` HOT 2
- AUTO_CD broken on 0.18.2 HOT 2
- problems importing case_insensitive_dict HOT 10
- Callable alias can provoke `Bad file descriptor` exception in the internal or external code HOT 21
- git completion only lists the files in the directory, not the commands and the files.
- install from homebrew on macos: Python Icon Jumping on the Dock HOT 8
- $XONSH_SUBPROC_OUTPUT_FORMAT affects downstream apps HOT 1
- Callable alias with subproc commands: upstream redirect ignored in downstream command redirect
- Edge case: callable alias with full capturing and redirect in the middle: `I/O operation on closed file`
- Callable alias: redirect inside uncaptured operator produces `AttributeError: 'int' object has no attribute 'readable'`
- Windows: No backscroll in Python REPL when running under xonsh HOT 5
- Color highlighting sometimes fails on fast typing
- Unexpected numerical token HOT 1
- Variables shadowing executables should be highlighted green
- installation and configuration options for NixOS HOT 2
- Subprocess output not captured in rc script
- Windows: Xonsh auto-complete on Windows searches for `file.exe`
- Support SSH escape sequences HOT 1
- When I run a builtin command (i.e. xonfig -h, xontrib -h, etc.) the shell exits HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xonsh.