Piotr and I have some questions regarding so calle...
# python-contributors
s
Piotr and I have some questions regarding so called "PIR": What is it? Is it safe to disable it? I see disabling it doesn't spoil anything visible. Only
out-pir
dir stops to be generated during box testing
👍 1
p
And a follow-up question: how does it relate to our Python backend? :)
this gave me some clue:
Copy code
val generatePir by generator("org.jetbrains.kotlin.ir.persistentIrGenerator.MainKt", mainSourceSet)
PIR = Persistent IR? I understand "persistent" as something that can be persisted aka. serialized and stored somewhere
🙃 1
@dmitriy.novozhilov could you help here?
d
Actually I don't know nothing about it. Maybe @udalov can help?
u
Yes, it’s the persistent IR, which can be used to get a view of any declaration at a time of any lowering. It’s used to implement incremental compilation support in JS IR backend. It’s not used in JVM, and I think it’s not used in Native.
🙏 2
s
Thank you! So I guess it's save to disable it for now in Python box tests
👍 1