instant team mailing list archive
-
instant team
-
Mailing list archive
-
Message #00171
Re: [HG instant] Fix for not using cache, ffc should be fine.
Suggestion: Use 'd = tempfile.mkdtemp("instant")' to create temporary directory.
This way multiple processes and multiple users can't mess up things.
--
Martin
2008/8/28 Ilmar Wilbers <ilmarw@xxxxxxxxx>:
> This should be possible now:
>
> - B{use_cache}:
> - Indicate if you want to store the generated module for later
> use.
> If a bool or int is given that is evaluated as True, the
> default cache directory will be used. To specify a cache
> directory, a string with with the path relative to the current
> path is used.
>
> FFC's JIT should not need any changes, but I made some minor changes so that
> is uses instant as intended.
>
> ilmar
>
> Martin Sandve Alnæs wrote:
>>
>> A great feature would be the ability to optionally specify your own
>> cache directory to create_extension. Then FFC and SFC can use the
>> cache implementation from Instant, but keep their own data
>> directories. Also, since the cache is filebased, it should make it
>> possible to add the cache or parts of it to a source repository for a
>> particular application, useful for heavy forms with high cost of code
>> generation (even more so with optimized generated code).
>>
>>
>
Follow ups
References