並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 20 件 / 20件

新着順 人気順

allocationの検索結果1 - 20 件 / 20件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

allocationに関するエントリは20件あります。 C#programmingUnity などが関連タグです。 人気エントリには 『プログラムを動かす時にメモリがどのように割り当て・解放されるのかをめちゃくちゃわかりやすいイメージ画像で解説してくれるサイト「Memory Allocation」』などがあります。
  • プログラムを動かす時にメモリがどのように割り当て・解放されるのかをめちゃくちゃわかりやすいイメージ画像で解説してくれるサイト「Memory Allocation」

    コンピューター上でプログラムを動作する際に必要になるのがメモリです。プログラム自体をメモリに読み込む必要があるのはもちろん、プログラムが行う動作はほとんど「メモリから値を取りだして計算し、メモリに保存する」であるといっても過言ではありません。プログラムが動作する際にメモリがどのように管理されているのかについて、ベテランプログラマーのサム・ローズさんがブログで解説しています。 Memory Allocation https://samwho.dev/memory-allocation/ C言語の標準ライブラリには「malloc」と「free」という2つの関数が用意されています。この2つはなんと1979年のUnix v7から存在している歴史ある関数で、mallocがメモリの割り当てを担当し、freeがメモリの解放を担当しています。サム・ローズさんの解説は「この2つの関数の中身を自分で実装する」

      プログラムを動かす時にメモリがどのように割り当て・解放されるのかをめちゃくちゃわかりやすいイメージ画像で解説してくれるサイト「Memory Allocation」
    • Memory Allocation

      One thing that all programs on your computer have in common is a need for memory. Programs need to be loaded from your hard drive into memory before they can be run. While running, the majority of what programs do is load values from memory, do some computation on them, and then store the result back in memory. In this post I'm going to introduce you to the basics of memory allocation. Allocators

        Memory Allocation
      • Jsonptr: Using Wuffs’ Memory-Safe, Zero-Allocation JSON Decoder

        Jsonptr: Using Wuffs’ Memory-Safe, Zero-Allocation JSON Decoder Summary: jsonptr is a new, sandboxed command-line tool that formats JSON and speaks the JSON Pointer query syntax. Wuffs standard library’s JSON decoder can run in O(1) memory, even with arbitrarily long input (containing arbitrarily long strings) because it uses multiple tokens to represent each JSON string. Processing the JSON Point

        • AWS Cost Allocation Tags now support retroactive application

          AWS now allows customers to enable Cost Allocation Tags retroactively for up to 12 months. As long as customers have added tags to specific resources in the past, customers can activate (or deactivate) cost allocation tags today and apply cost allocation tags to historical usage for these resources for up to 12 months. Previously, when AWS customers activated resource tags for cost allocation purp

            AWS Cost Allocation Tags now support retroactive application
          • UnityにおけるC#のGC Allocation(ヒープメモリ確保)パターンの紹介

            サイバーエージェントのゲーム・エンターテイメント事業部(SGE)に所属する子会社QualiArtsでUnityエンジニアをしている篠木です。本記事はQualiArtsの定期ブログ「QualiArts Tech Note」第12弾の記事となります。QualiArtsでは会社で使われている様々な技術の知見をブログで紹介しています。興味のある方は、QualiArtsとタグの付いている他の記事もチェックしてみてください。 QualiArts Tech Note この記事について この記事ではGC Allocation(以下、メモリ確保)が行われるパターンとその詳細について書いています。軽いメモリ周りの知識がある前提で書いているので、もし知らない方や不安がある方がいましたら、そちらから調べてみるのをおすすめします。個人的にはこちらの記事が分かり易くまとまっているのでおすすめです。メモリ周りの知識に不

              UnityにおけるC#のGC Allocation(ヒープメモリ確保)パターンの紹介
            • Chrome DevToolsのAllocation instrumentation timelineでメモリリークを見つける - SMARTCAMP Engineer Blog

              こんにちは!スマートキャンプでインサイドセールスに特化したSaaSであるBALES CLOUDを開発しているエンジニアの井上です。 皆さんは、開発・調査などでChrome DevToolsはよく使われているかと思います。 私達の開発するプロダクトでメモリリーク問題が起きたことがあり、 その際に調査方法で知っていれば助けになった内容をまとめていければと思っています。 JavaScriptのメモリ管理とは? GC(ガベージコレクション)とは? メモリリーク問題とGCで開放されないメモリ よく言われるメモリリークの種類 計測に使用したToolについて タスクマネージャー Chrome DevTools Memory Heap snapshot Allocation sampling Allocation instrumentation timeline Allocation instrument

                Chrome DevToolsのAllocation instrumentation timelineでメモリリークを見つける - SMARTCAMP Engineer Blog
              • GitHub - ankur-anand/gojtp: A high-performance, zero allocation, dynamic JSON Threat Protection in pure Go (golang)

                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

                  GitHub - ankur-anand/gojtp: A high-performance, zero allocation, dynamic JSON Threat Protection in pure Go (golang)
                • Cloud Run gets always-on CPU allocation | Google Cloud Blog

                  Cloud Run, Google Cloud's serverless container platform, offers a very granular pay-per-use pricing, charging you only for CPU and memory when your app processes requests or events. By default, Cloud Run does not allocate CPU outside of request processing. For a class of workloads that expect to do background processing, this can be problematic. So today, we are excited to introduce the ability to

                    Cloud Run gets always-on CPU allocation | Google Cloud Blog
                  • scikit-learnのLatent Dirichlet Allocation (LDA) のcoherenceを求める - Qiita

                    scikit-learnのLatent Dirichlet Allocation (LDA) のcoherenceを求めるPython機械学習scikit-learnLDA はじめに ちゃお…† まいおり…† LDA (Latent Dirichlet Allocation)、わたしの好きなモデルです。 しかし、現時点のscikit-learn (1.2.2) にはLDAモデルのcoherence (コヒーレンス) を求める関数はありません。 そこで強引に?LDAモデルのcoherenceを求める方法を記します。 コヒーレンスとは 記述や事実の集合は、それらが互いに支持し合っている場合、首尾一貫している (coherent) と言われます。したがって、首尾一貫した事実の集合は、事実のすべてまたは大部分をカバーする文脈で解釈することができます。 トピックのコヒーレンスを測るとは、トピック内の

                      scikit-learnのLatent Dirichlet Allocation (LDA) のcoherenceを求める - Qiita
                    • Optimizing Ruby’s Memory Layout: Variable Width Allocation

                      In this blog post, I’ll be introducing how Shopify is improving CRuby’s performance in Ruby 3.2 by optimizing the memory layout in the garbage collector through the Variable Width Allocation project. Ruby’s Memory Structure and Limitations Ruby is a garbage collected language. It automatically allocates memory when objects are created and releases the memory when it detects that an object is no lo

                        Optimizing Ruby’s Memory Layout: Variable Width Allocation
                      • GitHub - Cysharp/ZString: Zero Allocation StringBuilder for .NET and Unity.

                        Zero Allocation StringBuilder for .NET Core and Unity. Struct StringBuilder to avoid allocation of builder itself Rent write buffer from ThreadStatic or ArrayPool All append methods are generics(Append<T>(T value)) and write to buffer directly instead of concatenate value.ToString T1~T16 AppendFormat(AppendFormat<T1,...,T16>(string format, T1 arg1, ..., T16 arg16) avoids boxing of struct argument

                          GitHub - Cysharp/ZString: Zero Allocation StringBuilder for .NET and Unity.
                        • M1 MacのNode.jsで FATAL ERROR: wasm code commit Allocation failed - process out of memory が出る場合の対処法

                          M1 MacのNode.jsで FATAL ERROR: wasm code commit Allocation failed - process out of memory が出る場合の対処法 <--- Last few GCs ---> [85561:0x128008000] 3569 ms: Scavenge 167.1 (187.8) -> 157.3 (189.3) MB, 6.9 / 0.0 ms (average mu = 0.975, current mu = 0.953) task [85561:0x128008000] 3606 ms: Mark-sweep 157.5 (189.3) -> 137.5 (190.0) MB, 5.6 / 0.0 ms (+ 28.2 ms in 439 steps since start of marking, biggest ste

                            M1 MacのNode.jsで FATAL ERROR: wasm code commit Allocation failed - process out of memory が出る場合の対処法
                          • Linuxのメモリ割り当てアルゴリズムを追う Buddy Memory Allocation編

                            はじめに この記事はコネヒトAdvent Calendar2023の5日目の記事です。 世界中で広く使われているLinuxがどのようなメモリ割り当てアルゴリズムを使って物理メモリを管理しているのか、その仕組みには以前から興味がありました。 そこで、Linuxでメモリ割り当てアルゴリズムとして使用されている、Buddy Memory AllocationとSlab Allocationを自作しているOSに実装したのですが、日本語の記事や情報があまりなく実装するのに結構時間がかかってしまいました。(両者とも日本語版Wikipediaにすら載っていませんでした)なので、日本語の情報が少ないのならばこの機会に残しておこうと思い、この記事を書くことにしました。 本記事では、Buddy Memory Allocationに焦点を当て、その仕組みを紹介していきたいと思います。 ↓ 後編の記事です 前提

                              Linuxのメモリ割り当てアルゴリズムを追う Buddy Memory Allocation編
                            • In C, how do you know if the dynamic allocation succeeded? – Daniel Lemire's blog

                              In the C programming language, we allocate memory dynamically (on the heap) using the malloc function. You pass malloc a size parameter corresponding to the number of bytes you need. The function returns either a pointer to the allocated memory or the NULL pointer if the memory could not be allocated. Or so you may think. Let us write a program that allocates 1 terabytes of memory and then tries t

                                In C, how do you know if the dynamic allocation succeeded? – Daniel Lemire's blog
                              • Async in C#, .NET, and Unity: Allocation and state machine builders

                                Async in C#, .NET, and Unity: Allocation and state machine builders While helping with little something that uses Unity I came across the rabbit hole async/await support is in Unity. Historically Unity used generators (known as coroutines in Unity’s world) to support async/multiple-frames-spanning computation. In 2017 they added initial support for async/await but without any meaningful libraries

                                  Async in C#, .NET, and Unity: Allocation and state machine builders
                                • Cranelift, Part 3: Correctness in Register Allocation

                                  This post is the last in a three-part series about Cranelift. In the first post, I covered overall context and the instruction-selection problem; in the second post, I took a deep dive into compiler performance via careful algorithmic design. In this post, I want to dive into how we engineer for and work to ensure correctness, which is perhaps the most important aspect of any compiler project. A c

                                  • Demystifying Elasticsearch shard allocation | Amazon Web Services

                                    AWS Open Source Blog Demystifying Elasticsearch shard allocation At the core of OpenSearch’s ability to provide a seamless scaling experience, lies its ability distribute its workload across machines. This is achieved via sharding. When you create an index you set a primary and replica shard count for that index. Elasticsearch distributes your data and requests across those shards, and the shards

                                      Demystifying Elasticsearch shard allocation | Amazon Web Services
                                    • PPA(Purchase Price Allocation)の基本的な考え方とは?[経営企画部門、経理部門のためのPPA誌上セミナー] | ZEIKEN LINKS 事業承継・M&Aの知識・情報

                                      [経営企画部門、経理部門のためのPPA誌上セミナー] 【第1回】PPA(Purchase Price Allocation)の基本的な考え方とは? 〈解説〉 株式会社Stand by C(角野 崇雄/公認会計士・税理士) ▷第2回:PPAのプロセスと関係者の役割とは? ▷第3回:PPAにおける無形資産として何を認識すべきか? ▷第4回:PPAにおける無形資産の認識プロセスとは? 1.はじめに 今回からおおよそ12回にわたって取得原価の配分(Purchase Price Allocation)に伴う無形資産評価(以下,便宜的に「PPA」という。)について解説をしていきます。PPAが2010年4月より日本の会計基準においても要求されるようになってから約10年が経過しました。 また,PPAが必須とされる国際会計基準(以下,「IFRS」という。)を採用する企業も増加し,日本でもPPAの実務が定着し

                                      • GitHub - Cysharp/ZLogger: Zero Allocation Text/Structured Logger for .NET with StringInterpolation and Source Generator, built on top of a Microsoft.Extensions.Logging.

                                        Zero Allocation Text/Structured Logger for .NET and Unity, with StringInterpolation and Source Generator, built on top of a Microsoft.Extensions.Logging. The usual destinations for log output are Console(Stream), File(Stream), Network(Stream), all in UTF8 format. However, since typical logging architectures are based on Strings (UTF16), this requires additional encoding costs. In ZLogger, we utili

                                          GitHub - Cysharp/ZLogger: Zero Allocation Text/Structured Logger for .NET with StringInterpolation and Source Generator, built on top of a Microsoft.Extensions.Logging.
                                        • GitHub - hawkw/tinymetrics: a minimal, allocation-free Prometheus/OpenMetrics metrics implementation for `no-std` and embedded Rust.

                                          a minimal, allocation-free Prometheus/OpenMetrics metrics implementation for `no-std` and embedded Rust. License

                                            GitHub - hawkw/tinymetrics: a minimal, allocation-free Prometheus/OpenMetrics metrics implementation for `no-std` and embedded Rust.
                                          1

                                          新着記事