← Back to team overview

kicad-developers team mailing list archive

Re: 3D cache path

 

with the current state of things how many seconds are we talking
about? is it almost better to just use temp files and delete on close?

On Fri, May 20, 2016 at 1:39 AM, Mário Luzeiro <mrluzeiro@xxxxx> wrote:
> Btw,
> On relation to the cache size, on my development tests with my branch, I notice it can easily reach hundreds of MBytes.
>
> Mario
>
> ________________________________________
> From: Kicad-developers [kicad-developers-bounces+mrluzeiro=ua.pt@xxxxxxxxxxxxxxxxxxx] on behalf of Mário Luzeiro [mrluzeiro@xxxxx]
> Sent: 19 May 2016 14:32
> To: Bernhard Stegmaier; Nick Østergaard
> Cc: KiCad Developers
> Subject: Re: [Kicad-developers] 3D cache path
>
> Hi Bernhard,
>
> At moment 3D cache has almost any use in the current code.
>
> If my branch get merged on day:
> https://code.launchpad.net/~mrluzeiro/kicad/kicad_new3d-viewer
> The 3D viewer will use that cached models to speed up the board loading (so there is no need to parse the model files and recalculate normals etc..)
>
> The cache is global, on accord to last Cirilo email, that will be per user account.
> There is a hash function that maps the real file to the cached data, also it checks for file modification (Cirilo can give more details about it).
>
> Mario
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References