PLA filament used for 3D printing is considered compostable because it will have met the ASTM 6400 standard for composability. However, this only means that it is compostable in an industrial composting facility, on which the standard is based. You wouldn't be able to compost PLA on a home compost pile, as it would take upwards of 80 years to decompose.