 Back to Basics: The Factory Patternpattern is actually used ○ grep -irn “factory” . ● The answer is yes! ● https://github.com/blender/blender ● ● ●Factory Method/Pattern Usage (5/6) 81 ● I dug around a few open source projects to see0 码力 | 93 页 | 3.92 MB | 6 月前3 Back to Basics: The Factory Patternpattern is actually used ○ grep -irn “factory” . ● The answer is yes! ● https://github.com/blender/blender ● ● ●Factory Method/Pattern Usage (5/6) 81 ● I dug around a few open source projects to see0 码力 | 93 页 | 3.92 MB | 6 月前3
 Back to Basics: Smart Pointersdur=std::chrono::system_clock::now() - st(); std::cout << dur.count(); Pointer Time Available Since new 2.93 s C++98 std::unique_ptr 2.96 s C++11 std::make_unique 2.84 s C++14 std::shared_ptr 6.00 s C++110 码力 | 30 页 | 625.43 KB | 6 月前3 Back to Basics: Smart Pointersdur=std::chrono::system_clock::now() - st(); std::cout << dur.count(); Pointer Time Available Since new 2.93 s C++98 std::unique_ptr 2.96 s C++11 std::make_unique 2.84 s C++14 std::shared_ptr 6.00 s C++110 码力 | 30 页 | 625.43 KB | 6 月前3
 What's New in Visual Studio 2022915 505 272 878 1059 2886 0 500 1000 1500 2000 2500 3000 3500 Unreal Engine 5 TensorFlow Blender AAA Game 3 AAA Game 2 AAA Game 1 Time in Seconds (Lower is better) VS 17.5 VS 17.7In Visual0 码力 | 55 页 | 3.27 MB | 6 月前3 What's New in Visual Studio 2022915 505 272 878 1059 2886 0 500 1000 1500 2000 2500 3000 3500 Unreal Engine 5 TensorFlow Blender AAA Game 3 AAA Game 2 AAA Game 1 Time in Seconds (Lower is better) VS 17.5 VS 17.7In Visual0 码力 | 55 页 | 3.27 MB | 6 月前3
 Julia 1.11.4function with 1 method) julia> @time @eval foo(); 0.252395 seconds (1.12 M allocations: 56.178 MiB, 2.93% gc time, 98.12% compilation time) julia> @time @eval foo(); 0.000156 seconds (63 allocations: 20 码力 | 2007 页 | 6.73 MB | 3 月前3 Julia 1.11.4function with 1 method) julia> @time @eval foo(); 0.252395 seconds (1.12 M allocations: 56.178 MiB, 2.93% gc time, 98.12% compilation time) julia> @time @eval foo(); 0.000156 seconds (63 allocations: 20 码力 | 2007 页 | 6.73 MB | 3 月前3
 Julia 1.11.5 Documentationfunction with 1 method) julia> @time @eval foo(); 0.252395 seconds (1.12 M allocations: 56.178 MiB, 2.93% gc time, 98.12% compilation time) julia> @time @eval foo(); 0.000156 seconds (63 allocations: 20 码力 | 2007 页 | 6.73 MB | 3 月前3 Julia 1.11.5 Documentationfunction with 1 method) julia> @time @eval foo(); 0.252395 seconds (1.12 M allocations: 56.178 MiB, 2.93% gc time, 98.12% compilation time) julia> @time @eval foo(); 0.000156 seconds (63 allocations: 20 码力 | 2007 页 | 6.73 MB | 3 月前3
 Julia 1.11.6 Release Notesfunction with 1 method) julia> @time @eval foo(); 0.252395 seconds (1.12 M allocations: 56.178 MiB, 2.93% gc time, 98.12% compilation time) julia> @time @eval foo(); 0.000156 seconds (63 allocations: 20 码力 | 2007 页 | 6.73 MB | 3 月前3 Julia 1.11.6 Release Notesfunction with 1 method) julia> @time @eval foo(); 0.252395 seconds (1.12 M allocations: 56.178 MiB, 2.93% gc time, 98.12% compilation time) julia> @time @eval foo(); 0.000156 seconds (63 allocations: 20 码力 | 2007 页 | 6.73 MB | 3 月前3
 julia 1.13.0 DEVfunction with 1 method) julia> @time @eval foo(); 0.252395 seconds (1.12 M allocations: 56.178 MiB, 2.93% gc time, 98.12% compilation time) julia> @time @eval foo(); 0.000156 seconds (63 allocations: 20 码力 | 2058 页 | 7.45 MB | 3 月前3 julia 1.13.0 DEVfunction with 1 method) julia> @time @eval foo(); 0.252395 seconds (1.12 M allocations: 56.178 MiB, 2.93% gc time, 98.12% compilation time) julia> @time @eval foo(); 0.000156 seconds (63 allocations: 20 码力 | 2058 页 | 7.45 MB | 3 月前3
 Julia 1.12.0 RC1function with 1 method) julia> @time @eval foo(); 0.252395 seconds (1.12 M allocations: 56.178 MiB, 2.93% gc time, 98.12% compilation time) julia> @time @eval foo(); 0.000156 seconds (63 allocations: 20 码力 | 2057 页 | 7.44 MB | 3 月前3 Julia 1.12.0 RC1function with 1 method) julia> @time @eval foo(); 0.252395 seconds (1.12 M allocations: 56.178 MiB, 2.93% gc time, 98.12% compilation time) julia> @time @eval foo(); 0.000156 seconds (63 allocations: 20 码力 | 2057 页 | 7.44 MB | 3 月前3
 Julia 1.12.0 Beta4function with 1 method) julia> @time @eval foo(); 0.252395 seconds (1.12 M allocations: 56.178 MiB, 2.93% gc time, 98.12% compilation time) julia> @time @eval foo(); 0.000156 seconds (63 allocations: 20 码力 | 2057 页 | 7.44 MB | 3 月前3 Julia 1.12.0 Beta4function with 1 method) julia> @time @eval foo(); 0.252395 seconds (1.12 M allocations: 56.178 MiB, 2.93% gc time, 98.12% compilation time) julia> @time @eval foo(); 0.000156 seconds (63 allocations: 20 码力 | 2057 页 | 7.44 MB | 3 月前3
 Julia 1.12.0 Beta3function with 1 method) julia> @time @eval foo(); 0.252395 seconds (1.12 M allocations: 56.178 MiB, 2.93% gc time, 98.12% compilation time) julia> @time @eval foo(); 0.000156 seconds (63 allocations: 20 码力 | 2057 页 | 7.44 MB | 3 月前3 Julia 1.12.0 Beta3function with 1 method) julia> @time @eval foo(); 0.252395 seconds (1.12 M allocations: 56.178 MiB, 2.93% gc time, 98.12% compilation time) julia> @time @eval foo(); 0.000156 seconds (63 allocations: 20 码力 | 2057 页 | 7.44 MB | 3 月前3
共 14 条
- 1
- 2













